//
//  WaterInfoView.h
//  IphoneMapSdkDemo
//
//  Created by huck on 2017/5/22.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <BaiduMapAPI_Map/BMKMapView.h>//只引入所需的单个头文件

@interface WaterInfoView : UIView

@property (weak, nonatomic) IBOutlet BMKMapView *mapView;

//基础信息
@property (weak, nonatomic) IBOutlet UILabel *waterNameLabel;//名称
@property (weak, nonatomic) IBOutlet UILabel *levelLabel; //水质等级
@property (weak, nonatomic) IBOutlet UILabel *lengthLabel;//长度
@property (weak, nonatomic) IBOutlet UILabel *dutyLabel; //责任人

//一点一策
@property (weak, nonatomic) IBOutlet UIView *badReasonView; //整体
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *badReasonViewH;//整体高度
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *badTitleH;
@property (weak, nonatomic) IBOutlet UIView *reasonContainner;//内容部分容器

//排污口信息
@property (weak, nonatomic) IBOutlet UIView *outWaterView;//整体
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *outWaterViewH;//整体高度
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *outTitleH;
@property (weak, nonatomic) IBOutlet UIView *outWaterContainer; //容器

//其他信息
@property (weak, nonatomic) IBOutlet UILabel *dutyAreaLabel;
@property (weak, nonatomic) IBOutlet UILabel *wLevelLabel;
@property (weak, nonatomic) IBOutlet UILabel *lederLabel;


+ (instancetype)initViewWithFrameView:(UIView *)view;


-(void)mapViewWillAppear;

-(void)mapViewWillDisappear;

-(void)updateInfo;

@end
